﻿using SmartWMS.Common.ResponseOutput;
using SmartWMS.Server.WarehouseManage.HomeService.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.WarehouseManage.HomeService
{
    public interface IHomeServices: ITransientServer
    {
        /// <summary>
        /// 首页数据
        /// </summary>
        /// <returns></returns>
        Task<HomeDtoPes> GetHome();
        /// <summary>
        /// 统计销售人和销售金额
        /// </summary>
        /// <param name="overview"></param>
        /// <returns></returns>
        Task<Response<List<OverviewDto>>> ShowCount();
        /// <summary>
        /// 统计产品销量
        /// </summary>
        /// <returns></returns>
        Task<Response<List<ClientDto>>> ShowCountPro();
        /// <summary>
        /// 统计仓库季度出售多少
        /// </summary>
        /// <returns></returns>
        Task<Response<List<WarehouseDtos>>> ShowCountWarehouse();
        /// <summary>
        /// 统计产品类别百分比
        /// </summary>
        /// <returns></returns>
        Task<Response<List<productDto>>> ShowproductDto();
    }
}
